﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SGPFWebApp
{
    public partial class SuspenderProjecto : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            visualizadorControlo.ObterProjectoFunc = gestProjs.DevolveProjecto;
            visualizadorControlo.ObterProjectosNoEstadoFunc = gestProjs.DevolveProjectosParaSuspender;
            visualizadorControlo.ProjectDetailsControl = opcoes_detalhe_projecto;
        }

        protected void Suspender_Click(object sender, EventArgs e)
        {
            gestProjs.SuspendeProjecto(visualizadorControlo.ProjectoID);
        }
    }
}